#include<bits/stdc++.h>
using namespace std;
int Max(int xx,int yy) {
    return xx > yy? xx: yy;
}
int n,r,num[1000010],maxn = INT_MIN;
bool flag = false;
int main() {
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    scanf("%d",&n);
    for (int i = 1;i <= n;i ++) {
        scanf("%d",&r);
        ++ num[r];
        maxn = Max(maxn,num[r]);
    }
    printf("%d\n",maxn);
    return 0;
}
